package com.wangshuqi.app;

import com.wangshuqi.spring.AnnotationApplicationContext;

public class Main {

    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        AnnotationApplicationContext applicationContext = new AnnotationApplicationContext(SpringConfig.class);
        UserInterface userService = (UserInterface) applicationContext.getBean("userService");
        userService.test();
    }
}
